QuickTime 3 For Windows Programmers

| Previous | Chapter Contents | Chapter Top | Next |

QTSetDDPrimarySurface

The QTSetDDPrimarySurface function allows you to set the primary surface for DirectDraw used by QuickTime.

OSErr QTSetDDPrimarySurface(void *lpNewDDSurface, unsigned long flags);
lpNewDDSurface
Contains a pointer to a DirectDraw surface.

flags
Contains flags that control the set operation. The following flags are valid:

kDDSurfaceLocked
If set, QuickTime won't attempt to lock the graphics device when blitting to the PixMap .

kDDSurfaceStatic
If set, QuickTime assumes Windows on this device do not move.

DISCUSSION

This function is useful for multimedia developers who want to wrap QuickTime around surfaces they have already created.


© 1998 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |